package com.drink.yan.intf.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.meta.framework.common.annotation.Excel;
import com.meta.framework.copy.Copyable;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * java类简单作用描述
 *
 * @Title:
 * @Package: com.drink.yan.intf.entity.
 * @Author: M.simple
 * @Remark: The modified content
 * @CreateDate: 2024-01-09 14:56
 * @Version: v2.0
 */
@TableName(value = "yan_mock_exams", autoResultMap = true)
@Data
public class YanMockExams extends Copyable {

	@TableId(type = IdType.AUTO)
	private Long id;

	@TableField(exist = false)
	@Excel(name = "学生姓名")
	private String userName;

	@Excel(name = "学生编号")
	private Long userId;

	@Excel(name = "考试时间(年)")
	private Long year;

	@Excel(name = "考试批次(一模输入数字1)")
	private Integer mockBatchNo;

	@Excel(name = "政治")
	private BigDecimal politics;

	@Excel(name = "英语")
	private BigDecimal english;

	@Excel(name = "数学/管综")
	private BigDecimal specialOne;

	@Excel(name = "专业课(总分)")
	private BigDecimal specialTwo;

	@Excel(name = "专业课(选择题)")
	private BigDecimal specialTwoChose;

	@Excel(name = "专业课(主观题)")
	private BigDecimal specialTwoJudge;

	private BigDecimal totalScore;

	private String delFlag;
	private Long createBy;
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss", iso = DateTimeFormat.ISO.DATE_TIME)
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
	private LocalDateTime createTime;
	private Long updateBy;
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss", iso = DateTimeFormat.ISO.DATE_TIME)
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
	private LocalDateTime updateTime;
	private String remark;
}
